.el-radio,
.el-radio--medium.is-bordered .el-radio__label {
  font-size: 14px;
}

.el-radio,
.el-radio__input {
  white-space: nowrap;
  line-height: 1;
  outline: 0;
}

.el-radio,
.el-radio__inner,
.el-radio__input {
  position: relative;
  display: inline-block;
}

.el-radio {
  color: #5a5e66;
  font-weight: 500;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  &.is-bordered {
    padding: 10px 20px 10px 10px;
    border-radius: 4px;
    border: 1px solid #d8dce5;

    &.is-checked {
      border-color: #409EFF;
    }
  }
}

.el-radio__inner,
.el-radio__input.is-disabled.is-checked .el-radio__inner {
  background-color: #f5f7fa;
  border-color: #dfe4ed;
}

.el-radio.is-bordered+.el-radio.is-bordered {
  margin-left: 10px;
}

.el-radio--medium.is-bordered {
  padding: 8px 20px 8px 10px;
  border-radius: 4px;
}

.el-radio--mini.is-bordered .el-radio__label,
.el-radio--small.is-bordered .el-radio__label {
  font-size: 12px;
}

.el-radio--medium.is-bordered .el-radio__inner {
  height: 14px;
  width: 14px;
}

.el-radio--mini.is-bordered .el-radio__inner,
.el-radio--small.is-bordered .el-radio__inner {
  height: 12px;
  width: 12px;
}

.el-radio--small.is-bordered {
  padding: 6px 15px 6px 10px;
  border-radius: 3px;
}

.el-radio--mini.is-bordered {
  padding: 4px 15px 4px 10px;
  border-radius: 3px;
}

.el-radio {
  margin-right: 20px;
}

.el-radio__input {
  cursor: pointer;
  vertical-align: middle;
}

.el-radio__inner {
  cursor: not-allowed;
}

.el-radio__inner::after {
  cursor: not-allowed;
  background-color: #f5f7fa;
}

.el-radio__inner+.el-radio__label {
  cursor: not-allowed;
}

.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  background-color: #b4bccc;
}

.el-radio__input.is-disabled+span.el-radio__label {
  color: #b4bccc;
  cursor: not-allowed;
}

.el-radio__input.is-checked .el-radio__inner {
  border-color: #409EFF;
  background: #409EFF;
}

.el-radio__input.is-checked .el-radio__inner::after {
  -webkit-transform: translate(-50%,-50%) scale(1);
  transform: translate(-50%,-50%) scale(1);
}

.el-radio__input.is-checked+.el-radio__label {
  color: #409EFF;
}

.el-radio__input.is-focus .el-radio__inner {
  border-color: #409EFF;
}

.el-radio__inner {
  border: 1px solid #d8dce5;
  border-radius: 100%;
  width: 14px;
  height: 14px;
  background-color: #fff;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.el-radio__inner:hover {
  border-color: #409EFF;
}

.el-radio__inner::after {
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #fff;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-50%) scale(0);
  transform: translate(-50%,-50%) scale(0);
  -webkit-transition: -webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);
  transition: -webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);
  transition: transform .15s cubic-bezier(.71,-.46,.88,.6);
  transition: transform .15s cubic-bezier(.71,-.46,.88,.6),-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);
}

.el-radio__original {
  opacity: 0;
  outline: 0;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}

.el-radio:focus:not(.is-focus):not(:active) .el-radio__inner {
  -webkit-box-shadow: 0 0 2px 2px #409EFF;
  box-shadow: 0 0 2px 2px #409EFF;
}

.el-radio__label {
  font-size: 14px;
  padding-left: 10px;
}
